import { PORT1 } from "../config/servicePort";
import Http from "@/api/index";

const baseUrl = PORT1 + "/system/shop/swiper";

export const GetArticleList = () => {
  return Http.get(baseUrl + "/article");
};

export const createSwiper = (params: any) => {
  return Http.post(baseUrl + "/add", params);
};

export const getSwiperList = (params: any) => {
  return Http.get(baseUrl + "/list", params);
};

export const deleteSwiperList = (params: any) => {
  return Http.post(baseUrl + "/delete", params);
};
